''' 图像卷积处理 '''
import cv2 as cv
import numpy as np

img = cv.imread('../resources/miku.jpg')
# kernel = np.array([[0, -1, 0], [-1, 5, -1], [0, -1, 0]])
res = cv.blur(img, (5, 5))
cv.imshow('img', res)
cv.waitKey(0)
cv.destroyAllWindows()